TreeViewMixin
Sub classes
| Name | Children | Inherits |
|---|---|---|
| TreeView prettyqt.widgets.treeview Default model/view implementation of a tree view. |
||
TreeWidgetMixinprettyqt.widgets.treewidget |
||
| HelpContentWidget prettyqt.qthelp.helpcontentwidget Tree view for displaying help content model items. |
Base classes
| Name | Children | Inherits |
|---|---|---|
| AbstractItemViewMixin prettyqt.widgets.abstractitemview |
||
| object builtins The base class of the class hierarchy. |
â‹” Inheritance diagram
graph TD
1058239441["widgets.TreeViewMixin"]
3836649406["widgets.AbstractItemViewMixin"]
1259044718["widgets.AbstractScrollAreaMixin"]
1689631995["widgets.FrameMixin"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
625385617["gui.PaintDeviceMixin"]
3836649406 --> 1058239441
1259044718 --> 3836649406
1689631995 --> 1259044718
829357528 --> 1689631995
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
2751680898 --> 1689631995
2751680898 --> 1259044718
2751680898 --> 3836649406
2751680898 --> 1058239441
🛈 DocStrings
Bases: AbstractItemViewMixin, _TreeViewBase
Source code in prettyqt/widgets/treeview.py
set_expanded(index: core.ModelIndex | Iterable[core.ModelIndex], expanded: bool = True)
Set expaned state of an index or an Iterable of indexes.
Source code in prettyqt/widgets/treeview.py
set_sorting_enabled(enabled: bool, do_sort: bool = False)
Hack to avoid direct sort when setting sorting enabled.